package com.bfsuol.bfsuolframework.security.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface GroupMapper extends BaseMapper<Group> {

    @Select("select * from t_sec_group where title=#{title}")
    List<Group> checkGroupTitle(String title, Long id);
}
